package com.bhp.security.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bhp.security.entity.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleDao extends BaseMapper<Role> {

    List<Role> getRolesByUserId(@Param("userId") String userId);
}
